package com.rivulet.foreign.service;

import com.rivulet.foreign.pojo.Scholarship;
import com.rivulet.foreign.tools.Results;

/**
 * {奖学金功能接口}
 *
 * @author xujiac
 * @create 2021/8/18
 * @since 1.0.0
 */

public interface ScholarshipService {
    /**
     * 获取所有未审批的奖学金申请
     *
     * @return Results<List<Scholarship>>
     */
    public Results checkYetScholarship();

    /**
     *  申请奖学金
     *
     * @param scholarship
     *
     * @return Results
     */
    public Results setScholarship(Scholarship scholarship);

    /**
     *  审核奖学金申请
     * @param scholarship
     * @return Results
     */
    public Results dealScholarship(Scholarship scholarship);

}
